﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using System.Configuration;

namespace webapi.Models
{
  public class DAC
  {
    private string connstr;
    public SqlConnection Connection;
    public DAC()
    {
      connstr = ConfigurationSettings.AppSettings["ConnectionString"];
      //connstr = ConfigurationManager.ConnectionStrings["TAO"].ConnectionString;
      Connection = new SqlConnection(connstr);
    }
  }
}